//
//  LikeCell.m
//  2222222
//
//  Created by aoyolo on 15/10/26.
//  Copyright (c) 2015年 李祖铜. All rights reserved.
//

#import "LikeCell.h"

#import "UIImageView+WebCache.h"

#import "LikeModel.h"
#import <MediaPlayer/MediaPlayer.h>

@implementation LikeCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setLove:(LikeModel *)likemodel
{
    self.label1.text = likemodel.title;
    self.label2.text = likemodel.descrip;
    [self.imageLike sd_setImageWithURL:[NSURL URLWithString:likemodel.image]placeholderImage:[UIImage imageNamed:@"image"]];
}

- (IBAction)onVideo:(UIButton *)sender {
    
//    UILabel *label = sender.superview.subviews[1];
//    if (
//        [_delegate respondsToSelector:@selector(buttonLikeDidcheak:)]) {
//        [_delegate buttonLikeDidcheak:label.text];
    
//    }

    
    
}
@end
